package com.kejizhentan.service;

import com.kejizhentan.yygh.model.hosp.Schedule;
import com.kejizhentan.yygh.vo.hosp.ScheduleOrderVo;
import com.kejizhentan.yygh.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Author shikaifeng
 * @Date 2022/9/28 21:20
 * @Version 1.0
 */
public interface ScheduleService {
    void save(Map<String, Object> paramMap);

    Page<Schedule> findPageSchedule(int page, int limit, ScheduleQueryVo scheduleQueryVo);

    void remove(String hoscode, String hosScheduleId);

    Map<String, Object> getScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    List<Schedule> getScheduleDetail(String hoscode, String depcode, String workDate);

    Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule  getById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    // 更新排班
    void update(Schedule schedule);

    Schedule getScheduleId(String scheduleId);
}
